package com.ruoyi.production.domain.carton;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 纸箱量对象 carton_amount
 *
 * @author ruoyi
 * @date 2021-07-10
 */
public class CartonAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long cartonAmountId;

    /** 类型 */
    @Excel(name = "类型")
    private Long cartonTypeId;

    /** 规格 */
    @Excel(name = "规格")
    private String cartonSpecification;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 库存量 */
    @Excel(name = "库存量")
    private Long storageAmount;

    public void setCartonAmountId(Long cartonAmountId)
    {
        this.cartonAmountId = cartonAmountId;
    }

    public Long getCartonAmountId()
    {
        return cartonAmountId;
    }
    public void setCartonTypeId(Long cartonTypeId)
    {
        this.cartonTypeId = cartonTypeId;
    }

    public Long getCartonTypeId()
    {
        return cartonTypeId;
    }
    public void setCartonSpecification(String cartonSpecification)
    {
        this.cartonSpecification = cartonSpecification;
    }

    public String getCartonSpecification()
    {
        return cartonSpecification;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setStorageAmount(Long storageAmount)
    {
        this.storageAmount = storageAmount;
    }

    public Long getStorageAmount()
    {
        return storageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cartonAmountId", getCartonAmountId())
            .append("cartonTypeId", getCartonTypeId())
            .append("cartonSpecification", getCartonSpecification())
            .append("originCompany", getOriginCompany())
            .append("storageAmount", getStorageAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
